package Game;

/**
 * 士兵
 */


public class Soldier extends People implements Defend{
    public Soldier(){}
    public Soldier(String name,int level ){
        super(name, level);
    }


    @Override
    public void defend() {
        System.out.println(this.getLevel()+"级的士兵"+this.getName()+"可以抵抗猎人农民和盗贼的攻击");
    }
}
